import { getProList, getPropertType } from "@/api/api";
export default {
  name: 'property',
  components: {}, 
  props: [],
  data () {
    return {
      tableData:[],
      typeData:[]
    }
  },
  computed: {

  },
  mounted () {

  },
  created(){
    this._getProList();
    this._getPropertType();
  },
  methods: {
    _getProList(){
      getProList().then(res=>{
        
        this.tableData=res.data
      })
    },
    // 分类数据
    _getPropertType(){
      getPropertType().then(res=>{
        console.log(res.data);
        this.typeData=res.data
      })
    }
  }
}
